import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { Nyt7StatisticsInsureSubCompanyVO, Nyt7StatisticsInsureSubCompanyForm, Nyt7StatisticsInsureSubCompanyQuery } from '@/api/Nyt7StatisticsInsureSubCompany/Nyt7StatisticsInsureSubCompany/types';

/**
 * 查询统计分析_投保统计_数量统计_按地区的数量统计列表
 * @param query
 * @returns {*}
 */

export const listNyt7StatisticsInsureSubCompany = (query?: Nyt7StatisticsInsureSubCompanyQuery): AxiosPromise<Nyt7StatisticsInsureSubCompanyVO[]> => {
  return request({
    url: '/Nyt7StatisticsInsureSubCompany/Nyt7StatisticsInsureSubCompany/list',
    method: 'get',
    params: query
  });
};

